﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Niknak.Services.ServiceCore.Msmq
{
    public sealed class ThrottleItem
    {
        /// <summary>
        /// This is the Enum value used by the Processor delegate to do different things based on queue message type
        /// </summary>
        internal Enums.Msmq.MessageType _MessageType;
        internal string _MessageId;
        internal DateTime _Expire;

        internal ThrottleItem(Enums.Msmq.MessageType messageType, string messageId, DateTime expire)
        {
            _MessageType = messageType;
            _MessageId = messageId;
            _Expire = expire;
        }
    }
}
